package com.hoshiicloud.market.param.market;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NonNull;

import java.io.Serializable;
import java.io.Serializable;

/**
 * <p>
 * 修改系统优惠券参数
 * </p>
 *
 * @author campchen
 * @since 2019-05-14
 */
@Data
@ApiModel(value = "修改系统优惠券", description = "修改系统优惠券")
public class CouponsUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", required = true)
    @NonNull
    private Long id;
    @ApiModelProperty(value = "租户ID")
    private Long conmpanyid;
    @ApiModelProperty(value = "平台ID")
    private Long platformid;
    @ApiModelProperty(value = "店铺ID")
    private Long storeid;
    @ApiModelProperty(value = "优惠券编码")
    private String couponNo;
    @ApiModelProperty(value = "优惠券二维码内容")
    private String couponQrcode;
    @ApiModelProperty(value = "优惠券名称")
    private LocalDateTime couponName;
    @ApiModelProperty(value = "是否现金券  1-现金券  2-折扣券")
    private Integer credit;
    @ApiModelProperty(value = "面值")
    private BigDecimal amount;
    @ApiModelProperty(value = "折扣率")
    private BigDecimal discount;
    @ApiModelProperty(value = "生效日期")
    private LocalDateTime fromDate;
    @ApiModelProperty(value = "领券后N天失效")
    private Long gotDates;
    @ApiModelProperty(value = "失效日期")
    private LocalDateTime toDate;
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "订单id")
    private Long orderid;
    @ApiModelProperty(value = "会员ID")
    private Long memberid;

}
